package com.xmall.auth.service.remote;

import com.xmall.define.base.Result;
import com.xmall.define.dto.sys.DictDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * 微服务 - sys
 */
@FeignClient(value = "xmall-sys")
public interface SysDictServiceFeign {

    /**
     * 字典列表
     */
    @GetMapping("/service/sys/dict/list")
    Result<List<DictDto>> dictList();

}
